
/*
'===============================================================================
'  Generated From - BLL_Type_Class.vbgen
'
'  This is a class type for a table in the DB. When created, the object represents 
'  one row in the table. There should be no need to add custom code to this class.
'  
'  Do not write custom business logic in this class as it will be overwritten 
'  next time the class is generated.
'
'  Version: 1.0
'  Date:	30/01/06
'  Summary: Default constructor and explicit constructor using parameters.
'===============================================================================
*/
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;


namespace PlacementManager
{
    public class vwAllocatedVenues
    {
		#region Members
		private int _VenuePlacementTypeId;
		private int _VenueId;
		private int _PlacementTypeId;
		private bool _IsRestricted;
		private int _MaxNumStudents;
		private bool _IsActive;
		private DateTime _DateCreated;
		private string _CreatedBy;
		private DateTime _DateUpdated;
		private string _UpdatedBy;
		private string _VenueName;
		private bool _VenueSuppliedEducator;
		private string _TelephoneNumber;
		private string _Fax;
		private string _GenericEmail;
		private bool _VenueIsActive;
		private string _Address1;
		private string _Address2;
		private string _City;
		private string _PostCode;
		private int _StateId;
		private int _CountryId;
		private bool _IsPostal;
		private bool _AddressIsActive;
		private bool _LinkVenueAddressIsActive;
		private bool _IsPrimary;
		private double _Latitude;
		private double _Longitude;
		#endregion

		#region Properties
		
		public int VenuePlacementTypeId
		{
			get	{ return _VenuePlacementTypeId; }
			set	{ _VenuePlacementTypeId = value; }
		}
		
		public int VenueId
		{
			get	{ return _VenueId; }
			set	{ _VenueId = value; }
		}
		
		public int PlacementTypeId
		{
			get	{ return _PlacementTypeId; }
			set	{ _PlacementTypeId = value; }
		}
		
		public bool IsRestricted
		{
			get	{ return _IsRestricted; }
			set	{ _IsRestricted = value; }
		}
		
		public int MaxNumStudents
		{
			get	{ return _MaxNumStudents; }
			set	{ _MaxNumStudents = value; }
		}
		
		public bool IsActive
		{
			get	{ return _IsActive; }
			set	{ _IsActive = value; }
		}
		
		public DateTime DateCreated
		{
			get	{ return _DateCreated; }
			set	{ _DateCreated = value; }
		}
		
		public string CreatedBy
		{
			get	{ return _CreatedBy; }
			set	{ _CreatedBy = value; }
		}
		
		public DateTime DateUpdated
		{
			get	{ return _DateUpdated; }
			set	{ _DateUpdated = value; }
		}
		
		public string UpdatedBy
		{
			get	{ return _UpdatedBy; }
			set	{ _UpdatedBy = value; }
		}
		
		public string VenueName
		{
			get	{ return _VenueName; }
			set	{ _VenueName = value; }
		}
		
		public bool VenueSuppliedEducator
		{
			get	{ return _VenueSuppliedEducator; }
			set	{ _VenueSuppliedEducator = value; }
		}
		
		public string TelephoneNumber
		{
			get	{ return _TelephoneNumber; }
			set	{ _TelephoneNumber = value; }
		}
		
		public string Fax
		{
			get	{ return _Fax; }
			set	{ _Fax = value; }
		}
		
		public string GenericEmail
		{
			get	{ return _GenericEmail; }
			set	{ _GenericEmail = value; }
		}
		
		public bool VenueIsActive
		{
			get	{ return _VenueIsActive; }
			set	{ _VenueIsActive = value; }
		}
		
		public string Address1
		{
			get	{ return _Address1; }
			set	{ _Address1 = value; }
		}
		
		public string Address2
		{
			get	{ return _Address2; }
			set	{ _Address2 = value; }
		}
		
		public string City
		{
			get	{ return _City; }
			set	{ _City = value; }
		}
		
		public string PostCode
		{
			get	{ return _PostCode; }
			set	{ _PostCode = value; }
		}
		
		public int StateId
		{
			get	{ return _StateId; }
			set	{ _StateId = value; }
		}
		
		public int CountryId
		{
			get	{ return _CountryId; }
			set	{ _CountryId = value; }
		}
		
		public bool IsPostal
		{
			get	{ return _IsPostal; }
			set	{ _IsPostal = value; }
		}
		
		public bool AddressIsActive
		{
			get	{ return _AddressIsActive; }
			set	{ _AddressIsActive = value; }
		}
		
		public bool LinkVenueAddressIsActive
		{
			get	{ return _LinkVenueAddressIsActive; }
			set	{ _LinkVenueAddressIsActive = value; }
		}
		
		public bool IsPrimary
		{
			get	{ return _IsPrimary; }
			set	{ _IsPrimary = value; }
		}
		
		public double Latitude
		{
			get	{ return _Latitude; }
			set	{ _Latitude = value; }
		}
		
		public double Longitude
		{
			get	{ return _Longitude; }
			set	{ _Longitude = value; }
		}
		
		#endregion

        #region Constructors
		/// <summary>
        /// Explicit constructor using parameters.
        /// </summary>
        public vwAllocatedVenues(int VenuePlacementTypeId, int VenueId, int PlacementTypeId, bool IsRestricted, int MaxNumStudents, bool IsActive, DateTime DateCreated, string CreatedBy, DateTime DateUpdated, string UpdatedBy, string VenueName, bool VenueSuppliedEducator, string TelephoneNumber, string Fax, string GenericEmail, bool VenueIsActive, string Address1, string Address2, string City, string PostCode, int StateId, int CountryId, bool IsPostal, bool AddressIsActive, bool LinkVenueAddressIsActive, bool IsPrimary, double Latitude, double Longitude)
        {
			 _VenuePlacementTypeId = VenuePlacementTypeId;
			 _VenueId = VenueId;
			 _PlacementTypeId = PlacementTypeId;
			 _IsRestricted = IsRestricted;
			 _MaxNumStudents = MaxNumStudents;
			 _IsActive = IsActive;
			 _DateCreated = DateCreated;
			 _CreatedBy = CreatedBy;
			 _DateUpdated = DateUpdated;
			 _UpdatedBy = UpdatedBy;
			 _VenueName = VenueName;
			 _VenueSuppliedEducator = VenueSuppliedEducator;
			 _TelephoneNumber = TelephoneNumber;
			 _Fax = Fax;
			 _GenericEmail = GenericEmail;
			 _VenueIsActive = VenueIsActive;
			 _Address1 = Address1;
			 _Address2 = Address2;
			 _City = City;
			 _PostCode = PostCode;
			 _StateId = StateId;
			 _CountryId = CountryId;
			 _IsPostal = IsPostal;
			 _AddressIsActive = AddressIsActive;
			 _LinkVenueAddressIsActive = LinkVenueAddressIsActive;
			 _IsPrimary = IsPrimary;
			 _Latitude = Latitude;
			 _Longitude = Longitude;

        }
		
		/// <summary>
        /// Default constructor.
        /// </summary>
		public vwAllocatedVenues()
        {

        }
		#endregion
	}
}


